import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';
import 'YBBaseHandler.dart';

class YBBaseRouter{

  static String root = '/';
  //添加路由命名

  //首页--推广员
  static String homePagetuiGuangYuanPage = "/homePage/tuiGuangYuanPage";

  //首页-位置
  static String homePageLocationPage = '/homePage/homePageLocationPage';

  //首页-扫描
  static String homePageScannPage = '/homePage/homePageScannPage';

  //首页-秘书
  static String homePageshangwufalvxingzhengmishuPage = '/homePage/homePageshangwufalvxingzhengmishuPage';

  //首页 秘书 呼叫
  static String homePagesShangwuFaLvXingZhengMiShuHuJiaoPage = '/homePage/homePageshangwufalvxingzhengmishuPage/homePagesShangwuFaLvXingZhengMiShuHuJiaoPage';

  //首页 秘书-办理事务
  static String homePagesShangWuFaLxXingZhengMiShuBanLiShiWuPage = '/homePage/homePageshangwufalvxingzhengmishuPage/homePagesShangWuFaLxXingZhengMiShuBanLiShiWuPage';
  //首页 秘书-描述需求
  static String homePagesShangWuFaLxXingZhengMiShuMiaoShuXuQiuPage = '/homePage/homePageshangwufalvxingzhengmishuPage/homePagesShangWuFaLxXingZhengMiShuMiaoShuXuQiuPage';
  //首页 秘书-您的预算
  static String homePagesShangWuFaLxXingZhengMiShuYuSuanPage = '/homePage/homePageshangwufalvxingzhengmishuPage/homePagesShangWuFaLxXingZhengMiShuYuSuanPage';
  //首页 秘书-您的行业
  static String homePagesShangWuFaLxXingZhengMiShuNinDeHangYEPage = '/homePage/homePageshangwufalvxingzhengmishuPage/homePagesShangWuFaLxXingZhengMiShuNinDeHangYEPage';
  //首页 联系人
  static String homePagesShangWuFaLxXingZhengMiShuLianXiRenPage = '/homePage/homePageshangwufalvxingzhengmishuPage/homePagesShangwuFaLvXingZhengMiShuHuJiaoPage/homePagesShangWuFaLxXingZhengMiShuLianXiRenPage';
  //首页-快账房，权果果，今日律司
  static String homePageDetailWebPage = '/homePage/homePageDetailWebPage';


  //文书类别列表页
  static String wenshuTypeListDetailPage = "/wenshuPage/wenshuTypeListDetailPage";




  //工作台
  static String workTaiPage = '/workTaiPage';

  static String workTaiGonggaoPage = '/workTaiPage/workTaiGonggaoPage';

  static String workTaiGonggaoListDetailPage = '/workTaiPage/workTaiGonggaoPage/workTaiGonggaoListDetailPage';

  static String workTaiReMenWenZhangPage = '/workTaiPage/ReMenWenZhangPage';

  static String workTaiZuZhiWenZhangPage = '/workTaiPage/zuZhiWenZhangPage';

  static String workTaiWodeWenZhangPage = '/workTaiPage/workTaiWoDeWenZhangPage';
  //详情页
  static String workTaiMyInfoDetailPage = '/workTaiPage/workTaiMyInfoDetailPage';



  //转载文章
  static String workTaizhuanzaiWechatWenZhangPage = '/workTaiPage/workTaizhuanzaiWechatWenZhangPage';
  //转载文章正式显示页
  static String workTaizhuanzaiWechatDisplayPage = '/workTaiPage/workTaizhuanzaiWechatWenZhangPage/workTaizhuanzaiWechatDisplayPage';
  //转载文章封面页
  static String workTaizhuanzaiWechatFengMainYePage = '/workTaiPage/workTaizhuanzaiWechatWenZhangPage/workTaizhuanzaiWechatDisplayPage/workTaizhuanzaiWechatFengMainYePage';

  //原创文章页
  static String findYuanchuangWenZhangYePage = '/workTaiPage/findYuanchuangWenZhangYePage';
  //原创封面页
  static String workTaiYuanchuangFengMainYePage = '/workTaiPage/workTaizhuanzaiWechatWenZhangPage/workTaiYuanchuangFengMainYePage';

  //专用APP-秘书
  static String workTaiMiShuGeneralPage = '/workTaiPage/workTaiMiShuGeneralPage';

  static String workTaiYiJiTongPage = '/workTaiPage/workTaiYiJiTongPage';

  static String workTailvSiTongPage= '/workTaiPage/workTaiLvSiTongPage';

  static String workTaiMiShuTongPage = '/workTaiPage/workTaiMiShuTongPage';

  //商机库管理办法--蚁集通
  static String workTaiMiShuShangJiManangerIdeaYiJiPage = "/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangJikuPage/workTaiMiShuShangjikuListDetailPage/workTaiMiShuShangJiManangerIdeaYiJiPage";

  //商机库管理办法--律司通
  static String workTaiMiShuShangJiManangerIdeaLvSiPage = "/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangJikuPage/workTaiMiShuShangjikuListDetailPage/workTaiMiShuShangJiManangerIdeaLvSiPage";

  //已获商机
  static String workTaiMiShuTongYiHuoShangJiPage = '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuTongYiHuoShangJiPage';

  //商机库信息
  static String workTaiMiShuTongShangJikuPage = '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuTongShangJikuPage';

  //蚁集&&律司--优选详情页
  static String workTaiMiShuYouxuanDetailPage = '/workTaiPage/workTaiLvSiTongPage/workTaiMiShuYouxuanDetailPage';

  //蚁集&&律司--有效详情页
  static String workTaiMiShuYouXiaoDetailPage = '/workTaiPage/workTaiLvSiTongPage/workTaiMiShuYouXiaoDetailPage';

  //蚁集&&律司--异议详情页
  static String workTaiMiShuYiYiDetailPage = '/workTaiPage/workTaiLvSiTongPage/workTaiMiShuYiYiDetailPage';

  //蚁集&&律司--已获 问题反馈
  static String workTaiMiShuYiYiDetailQuestionFeedFeekPage = '/workTaiPage/workTaiLvSiTongPage/workTaiMiShuYiYiDetailPage/workTaiMiShuYiYiDetailQuestionFeedFeekPage';

  //秘书通-公用详情页
  static String workTaiMiShuTongGongYongDetailPage = '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuTongShangJikuPage/workTaiMiShuTongGongYongDetailPage';

  static String workTaiMiShuShangjiKuPage = '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangJikuPage';

  static String workTaiMiShuShangjikuListDetailPage = '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangJikuPage/workTaiMiShuShangjikuListDetailPage';

  static String workTaiMiShuShangjiManagerPage = '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangjiManagerPage';

  static String workTaiMiShuYouXuanShangJiDetailPage = '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangJikuPage/workTaiMiShuYouXuanShangJiDetailPage';




  //发现
  static String findQuanCengDetailPage = '/findQuanCengPage/findQuanCengDetailPage';

  //发现-发布
  static String findQuanCengPublishPage = '/findQuanCengPage/findQuanCengPublishPage';

  static String findQuanCengDetailWebViewPage = '/findQuanCengPage/findQuanCengDetailWebViewPage';

  //选择信息
  static String findQuanCengAddressSelectPage = '/findQuanCengPage/findQuanCengDetailWebViewPage/findQuanCengAddressSelectPage';




  //登录
  static String loginInPage = '/loginIn';

  static String loginPasswordPage = '/loginIn/loginPasswordPage';

  static String loginBangDingPage = '/loginIn/loginBangDingPage';

  static String loginYanZhengMaPage = '/loginIn/loginYanZhengMaPage';


  ///我的
  //个人信息
  static String minemyUserInfoPage = '/mine/myUserInfoPage';
  //个人信息编辑
  static String minemyUserInfoEditingPage = '/mine/myUserInfoPage/minemyUserInfoEditingPage';
  //个人信息里-组织管理信息
  static String minemyUserInfoZuzhiGuanLiInfoPage = '/mine/myUserInfoPage/minemyUserInfoZuzhiGuanLiInfoPage';
  //我的工单
  static String mineMyGongDanPage = '/mine/myGongDanPage';

  //待接单
  static String mineDaijieDanPage = '/mine/daiJieDanPage';

  //已接单
  static String mineYiJieDanPage = '/mine/yijieDanPage';

  //商机详情
  static String mineShangjiXiangQingPage = '/mine/mineShangjiXiangQingPage';

  //组织管理
  static String mineZhuZhiManagerPage = '/mine/mineZhuZhiManagerPage';

  //激活公会卡
  static String mineJiHuoGongHuiKaManagerPage = '/mine/mineZhuZhiManagerPage/mineJiHuoGongHuiKaManagerPage';

  //企业与个人
  static String mineQiYePersonPage = '/mine/mineQiYePersonPage';

  //企业认证
  static String mineQiYeMainAuthPage = '/mine/mineQiYePersonPage/mineQiYeMainAuthPage';

  //个人认证
  static String minePersonMainAuthPage = '/mine/mineQiYePersonPage/minePersonMainAuthPage';

  //成员管理
  static String mineNumberManangerPage = '/mine/mineQiYePersonPage/mineNumberManangerPage';

  //成员编辑
  static String mineNumberManangerEditingPage = '/mine/mineQiYePersonPage/mineNumberManangerPage/mineNumberManangerEditingPage';

  //成员属性编辑
  static String mineNumberManangerShuXingEditingPage = '/mine/mineQiYePersonPage/mineNumberManangerPage/mineNumberManangerEditingPage/mineNumberManangerShuXingEditingPage';

  //圈层主页
  static String mineQuanCengHomePage = '/mine/mineQiYePersonPage/mineQuanCengHomePage';

  //圈层编辑页
  static String mineQuanCengHomeEditingPage = '/mine/mineQiYePersonPage/mineQuanCengHomePage/mineQuanCengHomeEditingPage';

  //企业个人编辑页
  static String mineQiYePersonEditingPage = '/mine/mineQiYePersonPage/mineQuanCengHomePage/mineQiYePersonEditingPage';

  //实名认证-企业显示
  static String mineQiYeDisPlayPage = '/mine/mineQiYeDisPlayPage';

  //实名认证-个人显示
  static String minePersonDisPlayPage = '/mine/minePersonDisPlayPage';

  //原始公会
  static String mineYuanShiGongHuiPage = '/mine/mineYuanShiGongHuiPage';




  //设置
  static String mineSettingPage = '/mine/mineSettingPage';
  //账号与绑定
  static String mineSettingAccontBindingPage = '/mine/mineSettingPage/mineSettingAccontBindingPage';
  //圈层屏蔽管理
  static String mineSettingQuanCengPingBiPage = '/mine/mineSettingPage/mineSettingQuanCengPingBiPage';
  //修改密码
  static String mineSettingXiuGaiMiMaPage = '/mine/mineSettingPage/mineSettingXiuGaiMiMaPage';
  //新密码
  static String mineSettingNewPassWordPage = '/mine/mineSettingPage/mineSettingXiuGaiMiMaPage/mineSettingNewPassWordPage';
  //修改手机号
  static String mineSettingXiuGaiPhoneYanMaPage = '/mine/mineSettingPage/mineSettingXiuGaiPhoneYanMaPage';
  //新手机号
  static String mineSettingNewPhonePage = '/mine/mineSettingPage/mineSettingXiuGaiPhoneYanMaPage/mineSettingNewPhonePage';
  //消息通知
  static String mineMessagePage = '/mine/mineMessagePage';
  //我的权益
  static String mineMyQuanYiPage = '/mine/mineMyQuanYiPage';


  //关于
  static String mineAboutUsPage = '/mine/mineAboutUsPage';
  //隐私政策
  static String mineYinSiZhengCePage = '/mine/mineYinSiZhengCePage';
  //法律声明
  static String mineFaLvShengMingPage = '/mine/mineFaLvShengMingPage';
  //服务条款
  static String mineFuWuTiaoKuanPage = '/mine/mineFuWuTiaoKuanPage';


  //h5 浏览器
  static String baseUrlH5WebView = '/baseWebView';


  static void configureRoutes(FluroRouter router){
    router.notFoundHandler = Handler(
      // ignore: missing_return
      handlerFunc: (BuildContext context, Map<String, List<String>> params){
        print("Router was not found");
      }
    );

    //首页

    router.define(root, handler: rootHandler);


    router.define(homePagetuiGuangYuanPage, handler: homePageTuiGuangYuanHandler);

    router.define(homePageScannPage,handler: homePageScannPageHandler);

    router.define(workTaiPage, handler: workTaiHandler);

    router.define(homePageshangwufalvxingzhengmishuPage, handler: homePageShangWuFaLvXingZhengPageHandler);

    router.define(homePagesShangWuFaLxXingZhengMiShuYuSuanPage, handler: homePageShangWuFaLvXingZhengPageNinDeYuSuanHandler);

    router.define(homePagesShangWuFaLxXingZhengMiShuLianXiRenPage, handler: homePageShangWuFaLvXingZhengPageLianXiRenHandler);

    //呼叫秘书
    router.define(homePagesShangwuFaLvXingZhengMiShuHuJiaoPage, handler: homePageShangWuFaLvXingZhengPageHuJiaoHandler);

    //办事事务
    router.define(homePagesShangWuFaLxXingZhengMiShuBanLiShiWuPage, handler: homePageShangWuFaLvXingZhengPageBanLiShiWuHandler);

    //描述需求
    router.define(homePagesShangWuFaLxXingZhengMiShuMiaoShuXuQiuPage, handler: homePageShangWuFaLvXingZhengPageMiaoShuXuQiuHandler);

    //您的行业
    router.define(homePagesShangWuFaLxXingZhengMiShuNinDeHangYEPage,handler: homePageShangWuFaLvXingZhengPageNinDeHangYeHandler);

    router.define(homePageDetailWebPage,handler: homePageDetailWebPageHandler);




    //文书
    router.define(wenshuTypeListDetailPage,handler: wenshuTypeListDetailPageHandler);





    //工作台
    //工作台-公告
    router.define(workTaiGonggaoPage, handler: workTaiGonggaoHandler);

    //工作台-公告列表详情
    router.define(workTaiGonggaoListDetailPage, handler: workTaiGonggaoListDetailHandler);

    //工作台-热门文章
    router.define(workTaiReMenWenZhangPage, handler: workTaiReMenWenZhangHandler);

    //工作台-组织文章
    router.define(workTaiZuZhiWenZhangPage, handler: workTaiZuZhiWenZhangHandler);

    //工作台-我的文章
    router.define(workTaiWodeWenZhangPage, handler: workTaiWoDeWenZhangHandler);
    //详情页
    router.define(workTaiMyInfoDetailPage,handler: workTaiMyInfoDetailHandler);

    //转载文章
    router.define(workTaizhuanzaiWechatWenZhangPage, handler: workTaiZhuanZaiWeChatWenZhangHandler);
    //转载文章显示页
    router.define(workTaizhuanzaiWechatDisplayPage, handler: workTaiZhuanZaiWeChatDisPlayHandler);
    //转载文章封面页
    router.define(workTaizhuanzaiWechatFengMainYePage, handler: workTaiZhuanZaiWeChatFengMainYeHandler);
    //文章原创页
    router.define(findYuanchuangWenZhangYePage, handler: workTaiYuanChuangWenZhangYeHandler);
    //文章原创封面页
    router.define(workTaiYuanchuangFengMainYePage, handler: workTaiYuanchuangYeFengMainYeHandler);


    //工作台-专用APP-协议页
    router.define(workTaiMiShuGeneralPage, handler: workTaiGeneralJieShaoPageHandler);
    //工作台-专用APP-蚁集通
    router.define(workTaiYiJiTongPage, handler: workTaiYiJiTongPageHandler);
    //工作台-专用App-律司通
    router.define(workTailvSiTongPage, handler: workTaiLvSiTongPageHandler);
    //工作台-专用APP-秘书通
    router.define(workTaiMiShuTongPage, handler: workTaiMiShuTongPageHandler);

    //秘书通-商机库
    router.define(workTaiMiShuTongShangJikuPage, handler: workTaiMiShuTongPageShangJiKuHandler);
    //秘书通-已获商机
    router.define(workTaiMiShuTongYiHuoShangJiPage,handler: workTaiMiShuTongYiHuoShangJiHandler);
    //秘书通-公用详情页
    router.define(workTaiMiShuTongGongYongDetailPage, handler: workTaiMiShuTongGongYongDetailHandler);
    //工作台-专用APP-商机库
    router.define(workTaiMiShuShangjiKuPage, handler: workTaiMiShuShangJiKuHandler);
    //工作台-专用app-商机库详情
    router.define(workTaiMiShuShangjikuListDetailPage, handler: workTaiShangjiKuListDetailHandler);
    //工作台-专用APP-已获商机
    router.define(workTaiMiShuShangjiManagerPage, handler: workTaiMiShuShangJiManagerHandler);
    //蚁集&&律司优选详情页
    router.define(workTaiMiShuYouxuanDetailPage, handler:workTaiMiShuYouXuanDetailHandler);
    //已获商机--名字使用的问题
    router.define(workTaiMiShuYouXuanShangJiDetailPage, handler: workTaiYouXuanShangJiDetailPageHandler);
    //已获商机- 问题反馈
    router.define(workTaiMiShuYiYiDetailQuestionFeedFeekPage, handler: workTaiMiShuDetailQuestionFeedFeekHandler);
    //有效商机--详情页
    router.define(workTaiMiShuYouXiaoDetailPage, handler: workTaiYouXiaoDetailPageHandler);
    //异议商机--详情页
    router.define(workTaiMiShuYiYiDetailPage, handler: workTaiYiYiDetailPageHandler);
    //商机库-蚁集协议
    router.define(workTaiMiShuShangJiManangerIdeaYiJiPage,handler: workTaiMiShuShangJiKuYiJiHandler);
    //商机库-律司协议
    router.define(workTaiMiShuShangJiManangerIdeaLvSiPage,handler: workTaiMiShuShangJiKuLvSiHandler);




    //登录
    router.define(loginInPage, handler: loginInHandler);

    //密码登录
    router.define(loginPasswordPage, handler: loginPasswordHandler);

    //绑定手机号
    router.define(loginBangDingPage, handler: loginBangDingHandler);

    //验证码获取
    router.define(loginYanZhengMaPage, handler: loginYanZhengMaHandler);



    //我的
    router.define(minemyUserInfoPage, handler: mineMyUserInfoHandler);
    //个人信息编辑
    router.define(minemyUserInfoEditingPage, handler: mineMyUserInfoEditingHandler);
    //个人 组织管理
    router.define(minemyUserInfoZuzhiGuanLiInfoPage, handler: mineMyUserInfoZuZhiGuanliInfoHandler);
    //我的工单
    router.define(mineMyGongDanPage, handler: mineMyGongDanHandler);
    //待接单
    router.define(mineDaijieDanPage, handler: mineDaiJieDanHandler);
    //已接单
    router.define(mineYiJieDanPage, handler: mineYiJieDanHandler);
    //商机详情
    router.define(mineShangjiXiangQingPage, handler: mineShangJiXiangqingHandler);
    //组织管理
    router.define(mineZhuZhiManagerPage, handler: mineZuZhiGuanLiHandler);
    //激活公会卡
    router.define(mineJiHuoGongHuiKaManagerPage, handler: minejiHuoGongHuiKaManagerHandler);
    //企业认证
    router.define(mineQiYeMainAuthPage, handler: mineQiYeMainHandler);
    //个人认证
    router.define(minePersonMainAuthPage, handler: minePersonMainHandler);
    //成员管理
    router.define(mineNumberManangerPage,handler: mineNumberMannagerHandler);
    //成员编辑
    router.define(mineNumberManangerEditingPage,handler: mineNumberEditManagerHandler);
    //成员属性编辑
    router.define(mineNumberManangerShuXingEditingPage,handler: mineNumberEditShuXingManagerHandler);
    //圈层主页
    router.define(mineQuanCengHomePage, handler: mineQuanCengHomeHandler);
    //圈层编辑页
    router.define(mineQuanCengHomeEditingPage, handler: mineQuanCengHomeEditingHandler);
    //企业与个人编辑页
    router.define(mineQiYePersonEditingPage, handler: mineQiYePersonEditingHandler);
    //企业显示
    router.define(mineQiYeDisPlayPage, handler: mineQiYeDisPlayMainHandler);
    //个人显示
    router.define(minePersonDisPlayPage, handler: minePersonDisPlayMainHandler);
    //原始工会
    router.define(mineYuanShiGongHuiPage, handler: mineYuanShiGongHuiHandler);


    //设置
    router.define(mineSettingPage, handler: mineSettingPageHandler);
    //账号与绑定
    router.define(mineSettingAccontBindingPage, handler: mineSettingAccountingAndbindingPageHandler);
    //圈层屏蔽管理
    router.define(mineSettingQuanCengPingBiPage, handler:mineSettingMyPingBiManagerHandler);
    //修改密码
    router.define(mineSettingXiuGaiMiMaPage, handler:mineSettingXiuGaiMiMaManagerHandler);
    //新密码
    router.define(mineSettingNewPassWordPage, handler:mineSettingNewPasswordManagerHandler);
    //手机号验证
    router.define(mineSettingXiuGaiPhoneYanMaPage, handler:mineSettingXiuGaiPhoneYanZhengMaHandler);
    //新手机号
    router.define(mineSettingNewPhonePage, handler:mineSettingNewPhoneManagerHandler);
    //消息通知
    router.define(mineMessagePage, handler: mineMessagePageHandler);
    //我的权益
    router.define(mineMyQuanYiPage, handler: mineMyQuanYiHandler);
    //企业认证与个人认证
    router.define(mineQiYePersonPage, handler: mineQiYePersonHandler);


    //关于
    router.define(mineAboutUsPage, handler: mineAboutUsHandler);
    //隐私政策
    router.define(mineYinSiZhengCePage, handler: mineYinSiZhengCeHandler);
    //法律声明
    router.define(mineFaLvShengMingPage, handler: mineFaLvShengMingHandler);
    //服务条款
    router.define(mineFuWuTiaoKuanPage, handler: mineFuWuTiaoKuanHandler);


    //发现
    //圈层详情
    router.define(findQuanCengDetailPage,handler: findQuanCengDetailHandler);
    //发布
    router.define(findQuanCengPublishPage, handler: findQuanCengPublishHandler);
    //圈层webView
    router.define(findQuanCengDetailWebViewPage,handler: findQuanCengDetailWebViewHandler);
    //圈层地址信息
    router.define(findQuanCengAddressSelectPage, handler: findQuanCengAddressHandler);

    //webView h5
    router.define(baseUrlH5WebView, handler: baseUrlWebViewHandler);
  }

}